package com.example.app08_listview.adapter;

import androidx.annotation.NonNull;

/**
 * 数据实体
 *
 * @author lijiguo
 */
public class FoodInfo {

    private Integer icon;

    private String name;

    private String content;

    public FoodInfo() {

    }

    public FoodInfo(Integer icon, String name, String content) {
        this.icon = icon;
        this.name = name;
        this.content = content;
    }

    public Integer getIcon() {
        return icon;
    }

    public void setIcon(Integer icon) {
        this.icon = icon;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @NonNull
    @Override
    public String toString() {
        return "FoodInfo{" +
                "icon=" + icon +
                ", name='" + name + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
